package cate.game.role.pvp.arena.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBArena;
import cate.game.play.vo.PlayReportVO;
import cate.game.res.MixRes;
import cate.game.role.RoleSnapshot;
import easy.java.dev.note.NoteField;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@ClientMsg(title = "跨服擂台赛-挑战结果 返回")
public class ArenaFightResultResp implements MsgOutput {
    @NoteField("是否胜利")
    public boolean win;
    @NoteField("对手快照")
    public RoleSnapshot opponent;
    @NoteField("我方当前积分")
    public int selfScore;
    @NoteField("我方积分改变")
    public int selfScoreChange;
    @NoteField("对手当前积分")
    public int oppoScore;
    @NoteField("对手积分改变")
    public int oppoScoreChange;
    @NoteField("奖励")
    public List<MixRes> rewards;
    @NoteField("战报")
    public List<PlayReportVO> reports;

    @Override
    public MsgConfig conf() {
        return MsgIdBArena.FIGHT_RESULT_RESP;
    }
}
